<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class User extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('user', function(Blueprint $table)
		{
			$table->string('id');
			$table->string('lastname');
			$table->string('firstname');
			$table->string('MI', 3);
			$table->integer('age');
			$table->string('email');
			$table->year('batch');
			$table->string('contactNo');
			$table->string('password');
			$table->dateTime('dateCreated');
			$table->string('image');
			$table->bool('IsAdmin');
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('user');
	}

}
